package guoanmaker.operator.business.model;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/*
 * 2017-12-15 zhouyu
 * 金融项目  创业经历实体
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_personal_fpentrepreneurial_experience")
public class PersonalFpentrepreneurialExperience extends IdEntity implements Cloneable{

	private String project;//项目名称
	private String corporateName;//所属公司
	private Date projectStrartTime;//项目开始时间
	private Date projectEndTime;//项目结束时间
	
	/*@ManyToOne(fetch=FetchType.EAGER,optional=true)
	@JoinColumn(name="finance_project_partner_id")
	private PersonalFinanceProjectPartner personalFinanceProjectPartner;*/
	public Object clone() {
		// TODO Auto-generated method stub
		PersonalFpentrepreneurialExperience stu = null;  
		try{  
			stu = (PersonalFpentrepreneurialExperience)super.clone();  
		}catch(CloneNotSupportedException e) {  
			e.printStackTrace();  
		}  
		return stu; 
	}
	
}
